package commands;

/**
 * A command to reset the state of the Game for a GameParticipant to its previous state.
 */
public class UndoCommand extends Command
{
	/** Empty constructor for serialization */
	public UndoCommand() {
	}

	public UndoCommand(core.Player p) {
		player = p;
	}

	public String toString() {
		return "undoes the last move";
	}
}
